# Tanım: Firefox'a dayalı açık kaynak java destekli web tarayıcısı, verimliliğe odaklanıyor.
# URL: http://linux.palemoon.org/
# Paketçi: Oguzhan_DUYAR
# Gerekler: alsa-lib gtk2 dbus-glib nss desktop-file-utils xorg-libxt gmime kmime
# Grup: internet

isim=palemoon
surum=28.0.1
devir=1

kaynak=(http://linux.palemoon.org/datastore/release/palemoon-$surum.linux-x86_64.tar.bz2 palemoon.desktop )

derle() 
{
 install -d "$PKG"/usr/{bin,lib}
  cp -r palemoon/ "$PKG/usr/lib/palemoon"
  ln -s ../lib/palemoon/palemoon "$PKG/usr/bin/palemoon"
  install -Dm644 palemoon.desktop "$PKG/usr/share/applications/palemoon.desktop"

  # icons
  install -Dm644 palemoon/browser/chrome/icons/default/default16.png \
    "$PKG/usr/share/icons/hicolor/16x16/apps/palemoon.png"
  install -Dm644 palemoon/browser/chrome/icons/default/default32.png \
    "$PKG/usr/share/icons/hicolor/32x32/apps/palemoon.png"
  install -Dm644 palemoon/browser/chrome/icons/default/default48.png \
    "$PKG/usr/share/icons/hicolor/48x48/apps/palemoon.png"
  install -Dm644 palemoon/browser/icons/mozicon128.png \
    "$PKG/usr/share/icons/hicolor/128x128/apps/palemoon.png"
}


